/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.basic.third.vo;

import com.hopes.bizz.basic.common.constant.enums.ParkBasicModDictEnum;
import com.hopes.boss.admin.api.resolver.DictResolver;
import lombok.Data;

/**
 * 人员资质证书
 *
 * @author pig
 * @date 2023-11-09 10:20:09
 */
@Data
public class BasicPersonCredentialVO {

    private static final long serialVersionUID = 1L;


    private Long userId;


    private String certCode;

    private String deptName;


    public String getUserIdStr() {

        return DictResolver.getItemLabelByValue(ParkBasicModDictEnum.third_employee, this.userId);
    }

}
